package com.yugao.fintech.vctgone.auth.api.feign;

import com.yugao.fintech.vctgone.auth.api.dto.LogDTO;
import com.yugao.fintech.vctgone.web.constant.ServiceNameConstants;
import com.yugao.fintech.vctgone.web.util.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = ServiceNameConstants.PI_ADMIN)
public interface FeignLogService {
    /**
     * 保存日志
     *
     * @param dto /
     * @return /
     */
    @PostMapping("/log")
    ResultVO<?> saveLog(@RequestBody LogDTO dto);
}
